#define _CRT_SECURE_NO_WARNINGS
# include <stdio.h>

int main() {
	float data1, data2, result=0;
	char op;
	printf("Input data1,data2,op:\n");
	scanf("%f,%f,%c", &data1, &data2, &op);
	switch (op)
	{
	case '+': result = data1 + data2; break;
	case '-': result = data1 - data2; break;
	case '*': result = data1 * data2; break;
	case '/': result = data1 / data2; break;
	default:printf("operation is error!\n");
	}
	printf("%.2f %c %.2f=%.2f\n",data1,op,data2,result);
}